/
MeasurementCallback`1.xml
66 lines (66 loc) · 4.13 KB
/
MeasurementCallback`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<Type Name="MeasurementCallback<T>" FullName="System.Diagnostics.Metrics.MeasurementCallback<T>">
<TypeSignature Language="C#" Value="public delegate void MeasurementCallback<T>(Instrument instrument, T measurement, ReadOnlySpan<KeyValuePair<string,object?>> tags, object? state) where T : struct;" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed MeasurementCallback`1<struct .ctor (class System.ValueType) T> extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Diagnostics.Metrics.MeasurementCallback`1" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub MeasurementCallback(Of T)(instrument As Instrument, measurement As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)), state As Object)" />
<TypeSignature Language="F#" Value="type MeasurementCallback<'T (requires 'T : struct)> = delegate of Instrument * 'T * ReadOnlySpan<KeyValuePair<string, obj>> * obj -> unit" />
<TypeSignature Language="C++ CLI" Value="generic <typename T>
 where T : value classpublic delegate void MeasurementCallback(Instrument ^ instrument, T measurement, ReadOnlySpan<KeyValuePair<System::String ^, System::Object ^>> tags, System::Object ^ state);" />
<AssemblyInfo>
<AssemblyName>System.Diagnostics.DiagnosticSource</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<ParameterAttribute>DefaultConstructorConstraint</ParameterAttribute>
<ParameterAttribute>NotNullableValueTypeConstraint</ParameterAttribute>
<BaseTypeName>System.ValueType</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="instrument" Type="System.Diagnostics.Metrics.Instrument">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="measurement" Type="T" />
<Parameter Name="tags" Type="System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<System.String,System.Object>>">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 0, 1, 2 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 0, 1, 2 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="state" Type="System.Object">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<typeparam name="T">The type that the measurement represents.</typeparam>
<param name="instrument">The instrument that sent the measurement.</param>
<param name="measurement">The measurement value.</param>
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
<param name="state">The state object originally passed to <see cref="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)" /> method.</param>
<summary>A delegate to represent the Meterlistener callbacks that are used when recording measurements.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>